package com.zzzy.doc.vo.document.attachment;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;


@Data
public class DocAttachmentAddReq {

    @Schema(description = "公文ID")
    @NotNull(message = "公文ID不能为空")
    private Long docId;

    @Schema(description = "上传的附件")
    @NotNull(message = "附件不能为空")
    private MultipartFile file;
}
